<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* table{
        border-collapse:collapse;
        border: 1px solid ;
            padding: 4px;
       } */
    </style>
</head>
<body>
    <table></table>
    <script>
        for (let f = 1;f<=9;f++){
            for(let g =1;g<=f;g++){
                document.write(`${f}*${g}=${f*g}  `)
            }
            document.write('<br>')
        }
    </script>

</body>
</html>